aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/projets/[slug].tsx
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-08-21 16:21:00 +0200
committerArmand Philippot <git@armandphilippot.com>2022-08-21 16:21:00 +0200
commitd0f2898b91fe8fb2f58d96da6b52cf618b8d4e3b (patch)
tree27b553b7f6a66554786348a5d661f72ff3550ccf /src/pages/projets/[slug].tsx
parenta3eb518dcccaebd0f48c708c189ad2fcb07f0f73 (diff)
fix(projects): do not transform pre to Code component
Sometimes it is useful to display some preformatted data that are not code.
Diffstat (limited to 'src/pages/projets/[slug].tsx')
-rw-r--r--src/pages/projets/[slug].tsx1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/pages/projets/[slug].tsx b/src/pages/projets/[slug].tsx
index 247f350..b396fc3 100644
--- a/src/pages/projets/[slug].tsx
+++ b/src/pages/projets/[slug].tsx
@@ -64,7 +64,6 @@ const ProjectPage: NextPageWithLayout<ProjectPageProps> = ({ project }) => {
Gallery: (props) => <Gallery {...props} />,
Image: (props) => <ResponsiveImage withBorders={true} {...props} />,
Link: (props) => <Link {...props} />,
- pre: ({ children }) => <Code {...children.props} />,
};
const { website } = useSettings();